package com.zhengqing.app;

import com.zhengqing.common.base.constant.ServiceConstant;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication(scanBasePackages = {ServiceConstant.SERVICE_BASE_PACKAGE})
@EnableTransactionManagement
public class App {
    public static void main(String[] args) {
        /*String proxyHost = "127.0.0.1";
        String proxyPort = "1080";
        System.setProperty("http.proxyHost", proxyHost);
        System.setProperty("http.proxyPort", proxyPort);
        // 对https也开启代理
        System.setProperty("https.proxyHost", proxyHost);
        System.setProperty("https.proxyPort", proxyPort);*/
        SpringApplication.run(App.class, args);
    }
}
